POV-Ray : Newsgroups : povray.general : Seeking Anim advice : Re: Seeking Anim advice Server Time
14 Aug 2024 05:12:30 EDT (-0400)
  Re: Seeking Anim advice  
From: Shalom
Date: 11 Oct 2001 17:53:23
Message: <3bc614d3@news.povray.org>
I think that your idea would work, but it might be hard. It may be easier to 
just build the house, with all the interior, and use a CSG intersection with a 
slowly rising box. At least the animation code would be really easy (about 5 
lines), though we you wouldn't be able to do 1 part at a time. Look at the 
following code for an example:

background{rgb 1}
light_source{  
        <0,0,-20>
        rgb 1 shadowless

}

camera {
        location <0,0,-20>
        look_at<0,0,0>    
}   
                    
intersection{                    
        sphere{ <0,0,0>,5
                pigment{rgb <1,0,0>}
        }
        box{ 
                <-5.1,-5.1,-5.1>,
                <5.1,-5+clock*10,5.1>
        }
}

Try this with a any number of frames going with clock 0 to 1.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.